#ifndef RenderBatch_h__
#define RenderBatch_h__

#include "Common/CommonTypes.h"

enum ERenderObjectType
{
	ERENDER_OBJ_MESH
};

class CMeshBuffer;
class CRenderObject
{
public:
	CRenderObject(ERenderObjectType etype) : eType(etype) {}
	virtual ~CRenderObject() {}
	ERenderObjectType eType;
	CMatrix           mMatrix;	
};


class CMeshRenderObject : public CRenderObject
{
public:
	CMeshRenderObject() : CRenderObject(ERENDER_OBJ_MESH), pMeshBuffer(0) {}

	virtual ~CMeshRenderObject(){ pMeshBuffer = NULL; }
	CMeshBuffer*   pMeshBuffer;
};

#endif // RenderBatch_h__
